package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.RepairEpoxySleeve;
import com.deyuanyun.pic.pbf.mapper.RepairEpoxySleeveMapper;
import com.deyuanyun.pic.pbf.service.RepairEpoxySleeveService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RepairEpoxySleeveServiceImpl implements RepairEpoxySleeveService {
    @Autowired
    private RepairEpoxySleeveMapper repairEpoxySleeveMapper;

    private static final Logger logger = LoggerFactory.getLogger(RepairEpoxySleeveServiceImpl.class);

    public RepairEpoxySleeve selectByPrimaryKey(String id) {
        return this.repairEpoxySleeveMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.repairEpoxySleeveMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RepairEpoxySleeve record) {
        return this.repairEpoxySleeveMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RepairEpoxySleeve record) {
        return this.repairEpoxySleeveMapper.updateByPrimaryKey(record);
    }

    public int insert(RepairEpoxySleeve record) {
        return this.repairEpoxySleeveMapper.insert(record);
    }

    @Override
    public int insertSelective(RepairEpoxySleeve epoxySleeve) {
        return this.repairEpoxySleeveMapper.insertSelective(epoxySleeve);
    }
}